package com.jf.cloud.service.sysmanager.entity;


import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * APP 版本控制
 * @author roway 2017年12月12日下午2:49:57
 * 
 */
@Entity
@Table(name="sys_app_version")
public class SysAppVersion extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @Id
	@GeneratedValue(strategy= GenerationType.IDENTITY)
	@Column(name = "ROW_ID", nullable = false)
	protected Long rowId;
    
    /**
     * 平台类型  需要建立统一的访问 PlatFormType
            1: IPhone
            2: IPad
            3: Android Phone
            4:Android Pad
            
     */
	@Column(name = "PLATFORM_TYPE")
	private Integer platformType;
    /**
     * 平台类型名称
     */
	@Column(name = "PLATFORM_TYPE_NAME")
	private String platformTypeName;
    /**
     * 版本名称
     */
	@Column(name = "VER_NAME")
	private String verName;
    /**
     * 版本号
            类型是字符串 内容可能是数字
     */
	@Column(name = "VER_CODE")
	private String verCode;
    /**
     * 发行渠道
     */
	@Column(name = "CHANNEL")
	private String channel;
    /**
     * APP类型 1 安卓代练宝  2 安卓打手管家 3 安卓王者打手  10 IOS
     */
	@Column(name = "APP_TYPE")
	private String appType;
    /**
     * 版本描述
     */
	@Column(name = "VER_DESC")
	private String verDesc;
    /**
     * 文件大小
     */
	@Column(name = "FILE_SIZE")
	private String fileSize;
    /**
     * 下载地址
     */
	@Column(name = "DOWNLOAD_URL")
	private String downloadUrl;
    /**
     * 发布时间
     */
	@Column(name = "PUB_TIME")
	private String pubTime;
    /**
     * 版本状态 默认 1 可用 0 不可用
     */
	@Column(name = "VER_STATE")
	private Integer verState;
    /**
     * 不更新版本号,用逗号分隔
     */
	@Column(name = "OLD_NOT_UPDATE")
	private String oldNotUpdate;
    /**
     * 强制更新版本号,用逗号分隔
     */
	@Column(name = "OLD_VER_FORCE")
	private String oldVerForce;
    /**
     * 控制APP由于审核原因显示静态页 版本号，用逗号分隔
     */
	@Column(name = "CONTROL_FLAG")
	private String controlFlag;

	public Long getRowId() {
		return rowId;
	}

	public void setRowId(Long rowId) {
		this.rowId = rowId;
	}
	
	public Integer getPlatformType() {
		return platformType;
	}

	public void setPlatformType(Integer platformType) {
		this.platformType = platformType;
	}

	public String getPlatformTypeName() {
		return platformTypeName;
	}

	public void setPlatformTypeName(String platformTypeName) {
		this.platformTypeName = platformTypeName;
	}

	public String getVerName() {
		return verName;
	}

	public void setVerName(String verName) {
		this.verName = verName;
	}

	public String getVerCode() {
		return verCode;
	}

	public void setVerCode(String verCode) {
		this.verCode = verCode;
	}

	public String getChannel() {
		return channel;
	}

	public void setChannel(String channel) {
		this.channel = channel;
	}

	public String getAppType() {
		return appType;
	}

	public void setAppType(String appType) {
		this.appType = appType;
	}

	public String getVerDesc() {
		return verDesc;
	}

	public void setVerDesc(String verDesc) {
		this.verDesc = verDesc;
	}

	public String getFileSize() {
		return fileSize;
	}

	public void setFileSize(String fileSize) {
		this.fileSize = fileSize;
	}

	public String getDownloadUrl() {
		return downloadUrl;
	}

	public void setDownloadUrl(String downloadUrl) {
		this.downloadUrl = downloadUrl;
	}

	public String getPubTime() {
		return pubTime;
	}

	public void setPubTime(String pubTime) {
		this.pubTime = pubTime;
	}

	public Integer getVerState() {
		return verState;
	}

	public void setVerState(Integer verState) {
		this.verState = verState;
	}

	public String getOldNotUpdate() {
		return oldNotUpdate;
	}

	public void setOldNotUpdate(String oldNotUpdate) {
		this.oldNotUpdate = oldNotUpdate;
	}

	public String getOldVerForce() {
		return oldVerForce;
	}

	public void setOldVerForce(String oldVerForce) {
		this.oldVerForce = oldVerForce;
	}

	public String getControlFlag() {
		return controlFlag;
	}

	public void setControlFlag(String controlFlag) {
		this.controlFlag = controlFlag;
	}

}
